import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        List<Student> list=new ArrayList<>();
        list.add(new Student("123798","Tom","男",22,90));
        list.add(new Student("254798","Alice","女",22,95));
        list.add(new Student("789465","Bob","男",22,87));
        list.add(new Student("159753","Mack","男",20,89));
        list.add(new Student("789512","Linda","女",22,88));
        Tools.toShow(list);
        System.out.println("Java的平均成绩"+Tools.sAvg(list));
        System.out.println("Java的最高成绩"+Tools.sMax(list));
        System.out.println("Java的最低成绩"+Tools.sMin(list));
    }
}
